//
//  DoctorReserveMenuCell.swift
//  EyeVisionForPatients
//
//  Created by PMC on 2020/2/28.
//  Copyright © 2020 tao Tao. All rights reserved.
//

import UIKit

class DoctorReserveMenuCell: UITableViewCell {

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        titleLabel.textColor = selected ? .main : .textLight
    }
    
    @IBOutlet private weak var titleLabel: UILabel!
    
    func configure(with text: String?) {
        titleLabel.text = text
    }
}
